<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class CarFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        $carArr  = [
            '绿佳s',
            '新日l',
            '小牛w',
            '春风100',
            '铃木U125',
            '本田cm500',
            '速腾1.4T',
            '标志1.6自吸',
            '广汽传奇GS8',
            '林肯巡洋舰',
            '丰田卡卡',
            '埃尔法',
            '威尔法',
            '少林125',
        ];

        return [
            'model' => $this->faker->randomElement($carArr),
            'mechanic_id' => $this->faker->numberBetween(1, 10),
        ];
    }
}
